<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <h2>颜色列表</h2>
    <ul v-for="temp in color">
       <li>{{ temp }}</li>
    </ul>
</div>
<script src="https://unpkg.com/vue"></script>
<script>
    var app = new Vue({
        el:'#app',
        data:{
            color:['red','green','blue','blank']
        }
    })
</script>
</body>
</html>